package com.zgis.module.bas.constant;

/**
 * 类描述：Map字典Key相关
 * 作者：郑朝军 on 2018/8/18 0018
 * 邮箱：1250393285@qq.com
 * 公司：小象优品科技有限公司
 * 修改人：郑朝军 on 2018/8/18 0018
 * 修改备注：
 */
public interface CxConsts
{
    int    GEOM             = 0;
    int    DB_ORACLE        = 1;
    int    DB_MYSQL         = 2;
    int    DB_POSTGRESQL    = 3;
    int    DB_MSSQL         = 4;
    int    DB_GBASE         = 5;
    int    DB_DM            = 6;
    String oracle           = "oracle";
    String mysql            = "mysql";
    String postgresql       = "postgresql";
    String sqlserver        = "sqlserver";
    String dm8              = "dm8";
    String DB_HOST          = "host";
    String DB_PORT          = "port";
    String DB_NAME          = "dbname";
    String DB_SCHEMA        = "schema";
    String DB_USERNAME      = "username";
    String DB_PWD           = "pwd";
    int    DISP_EDIT        = 1;
    int    DISP_LIST        = 2;
    int    DISP_DATE        = 3;
    int    DISP_RICHTEXT    = 4;
    int    DISP_TIMESTAMP   = 5;
    int    DISP_DROPDOWN    = 6;
    int    DISP_VALBUTTON   = 7;
    int    DISP_SELDEPPOS   = 8;
    int    DISP_SELDYNA     = 9;
    int    DISP_URL         = 10;
    int    DATA_LONG        = 1;
    int    DATA_DOUBLE      = 2;
    int    DATA_STRING      = 3;
    int    DATA_DATE        = 4;
    int    DATA_DATETIME    = 5;
    int    DATA_GEO         = 11;
    int    OP_ADD           = 1;
    int    OP_DEL           = 2;
    int    OP_UPD           = 3;
    int    OP_QRY           = 4;
    int    OP_STAT          = 5;
    int    DM_ADD_1         = 1;
    int    DM_DEL_1         = 2;
    int    DM_UPD_1         = 4;
    int    DM_QRY_1         = 8;
    int    DM_ADD_N         = 256;
    int    DM_DEL_N         = 512;
    int    DM_UPD_N         = 1024;
    int    DM_QRY_N         = 2048;
    int    DM_STAT          = 2048;
    int    DM_QRY_1_N       = 2056;
    char   OP_N             = 'N';
    char   OP_1             = '1';
    int    DOC_FILE         = 0;
    int    DOC_FASTDFS      = 1;
    int    DOC_MINIIO       = 2;
    int    AUTH_FUNC        = 1;
    int    AUTH_ETTSVR      = 7;
    int    MAJOR_SYSTAB     = 99;
    int    TAB_USER         = 13;
    int    TAB_SYSUSER      = 14;
    int    TAB_USERROLE     = 16;
    int    TAB_SYSROLEOBJ   = 18;
    int    TAB_DOCRECYB     = 44;
    int    TAB_MEDIA        = 45;
    int    TAB_TRAIN        = 57;
    String MM_DOCRECYB      = "99_44";
    String MM_MEDIA         = "99_45";
    String DEF_CHARSET      = "UTF-8";
    String GBK              = "GBK";
    String DEF_IMGFMT       = "png";
    String admin            = "admin";
    String V1               = "1";
    String V0               = "0";
    long   MILLISECOND_DAY  = 86400000L;
    String $null            = "null";
    String colsAll          = "*";
    String defSep           = ",";
    String conSep           = ":@:";
    String DOT              = ".";
    String MINUS            = "-";
    String COLON            = ":";
    String SIMICOLON        = ";";
    String BACKSLASH        = "/";
    String LEFTBRACE        = "{";
    String RIGHTBRACE       = "}";
    String DOLLAR           = "$";
    String QUESTIONMARK     = "?";
    int    SMS_ALI          = 1;
    int    SMS_TENCENT      = 2;
    int    SMS_BCE          = 3;
    int    ES               = 1;
    int    SOLR             = 2;
    int    PWD              = 1;
    int    CODE             = 2;
    int    OTHER            = 3;
    String IMAGE_TEXT       = "IMAGE_TEXT";
    String SLIDER           = "SLIDER";
    String ROTATE           = "ROTATE";
    String CONCAT           = "CONCAT";
    String WORD_IMAGE_CLICK = "WORD_IMAGE_CLICK";
    int    CORE_POOL_SIZE   = 5;
    int    MAX_POOL_SIZE    = 10;
    int    KEEP_LIVE_TIME   = 60;
    int    FF_PDF           = 1;
    int    FF_HTML          = 2;
    int    FF_IMG           = 3;
    String pdf              = "pdf";
    String ppt              = "ppt";
    String pptx             = "pptx";
    String docx             = "docx";
    String doc              = "doc";
    String xlsx             = "xlsx";
    String xls              = "xls";
    String html             = "html";
    String png              = "png";
    String mp4              = "mp4";
    String avi              = "avi";
    String WRYH             = "微软雅黑";

    // 数据库表名
    String name_cx_entity   = "cx_entity";
    String name_cx_fld      = "cx_fld";
    String name_cx_fldvalue = "cx_fldvalue";
    String name_cx_syscfg   = "cx_syscfg";
    String name_cx_sqlexp   = "cx_sqlexp";
    String name_cx_usersql  = "cx_usersql";
    String name_cx_sqlpro   = "cx_sqlpro";

    // 系统号
    int SYS_WEB = 11;
    int SYS_APP = 21;
}
